﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MaterialTypeRecognition.Shell.Migrations
{
    /// <inheritdoc />
    public partial class MigrationsDotnet8 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: new Guid("cdabdbf5-95ea-42ad-8b5c-1d3a1d0068f4"));

            migrationBuilder.InsertData(
                table: "Users",
                columns: new[] { "Id", "Key", "Permission", "UserName" },
                values: new object[] { new Guid("c8af2fe3-ab5d-4689-ac01-eb69c96be343"), "123456", "UserPermissins.Admin", "Admin" });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: new Guid("c8af2fe3-ab5d-4689-ac01-eb69c96be343"));

            migrationBuilder.InsertData(
                table: "Users",
                columns: new[] { "Id", "Key", "Permission", "UserName" },
                values: new object[] { new Guid("cdabdbf5-95ea-42ad-8b5c-1d3a1d0068f4"), "123456", "UserPermissins.Admin", "Admin" });
        }
    }
}
